package exp.social.graph.dataaccess;

import exp.social.graph.model.ResourceModel;
import exp.social.graph.model.UserModel;

public interface DataProvider {
	DataProviderResult<UserModel> createUser(UserModel user);
	DataProviderResult<ResourceModel> createResource(ResourceModel resource);
	DataProviderResult<UserModel> removeUser(UserModel user);
	DataProviderResult<ResourceModel> removeResource(ResourceModel resource);
	DataProviderResult<UserModel> getUserById(Integer userId);
}
